 #!/bin/bash

 set -e

 if [ ! -d /etc/containerd/certs.d/ ]; then
    mkdir -p /etc/containerd 
    cd /etc/containerd 
    git clone https://gitee.com/satway/certs.d.git
 else
    cd /etc/containerd/certs.d/ && git reset --hard && git pull
 fi
 